﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Slot : MonoBehaviour
{
   public Item SlotItem;
    public Image SlotImage;
    public Text SlotNum;
    

    public void ItemOnClicked()
        {
       
       InventoryManage.UpadteItemInfo(SlotItem.itemInformation);
        InventoryManage.UpadteImageInfo(SlotImage.sprite);
        InventoryManage.ImageOpen();
    
    }
}
    
